package cn.itsource.blog.mapper;


import cn.itsource.blog.domain.Article;
import cn.itsource.blog.query.ArticleQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
    List<Article> selectAll();

    void delete(Integer id);

    void update(Article article);

    void add(Article article);

    void deleteMore(Long[] ids);

    List <Article> queryArticle(ArticleQuery articleQuery);


}
